package ithink.link.base.utils;

import org.apache.log4j.PropertyConfigurator;

/**
 * Created by zaqb on 2017/3/5.
 */
public class LoggerHelper {
    public static void init() {
        org.apache.log4j.Logger.getRootLogger().removeAllAppenders();
        String logConfig = System.getProperty("user.dir") + "/log4j.properties";
        PropertyConfigurator.configure(logConfig);
    }
}
